import BaseController from "../../cfw/mvc/BaseController";
import ModuleManager, { ModuleID } from "../../cfw/module/ModuleManager";
import HitMouseMgr from "./HitMouseMgr";


export default class HitMouseC extends BaseController {
    private static ins: HitMouseC;

    static instance() {
        if (!this.ins) {
            this.ins = new HitMouseC()
        }
        return this.ins;
    }

    intoLayer() {
        this.pushView('prefabs/hitmouse/HitMouseView', 'HitMouseView', HitMouseMgr.instance(), ModuleManager.getLoader(ModuleID.PUBLIC))
    }
}
